package com.hxht.storage.server.dao;

import java.util.List;

public interface BaseDao<T> {

	public List<T> findAll();
	
	public void insert(T t);
	
	public void update(T t);
	
	public void remove(T t);
	
	public void removeById(Object id);
	
	public T findById(Object id);
	
	void init();
}
